package com.study.myteach.发布订阅模式;

/**
 * @author lk
 * @date 2021/4/30 0030 11:27
 * @description:
 */
public class Weather {
    private double temp;
    private double pressure;

    public double getTemp() {
        return temp;
    }

    public void setTemp(double temp) {
        this.temp = temp;
    }

    public double getPressure() {
        return pressure;
    }

    public void setPressure(double pressure) {
        this.pressure = pressure;
    }

    @Override
    public String toString() {
        return "Weather{" +
                "temp=" + temp +
                ", pressure=" + pressure +
                '}';
    }
}
